//
//  Article.m
//  HWFinal
//
//  Created by student on 2021/12/2.
//  Copyright © 2021 demo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Article.h"

@implementation Article

-(Article*)initWithUID: (NSString*) u_id
                andAID: (NSString*) a_id
              andField: (int) field
            andContent: (NSString*) content
             andImages: (NSMutableArray*) images
              andTypes: (NSMutableArray*) types
          andTimeStamp: (NSString*) date
{
    self = [super init];
    
    self.u_id = u_id;
    self.a_id = a_id;
    self.field = field;
    self.content = content;
    self.images = images;
    self.images_type = types;
    self.time_stamp = date;
    
    return self;
}

@end
